﻿using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Primitives;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.Infrastructure.Common;

namespace Zocono.WCS.WMSApiDomain
{
    public class WmsApiConfigureManager
    {
        

        private const string WmsApiConfigurePath = "wmsapi.json";
        public static string GetStringValue(string key)
        {
            try
            {
                var val = JsonConfigurationHelper.GetJson(WmsApiConfigurePath, key);
                return val;
            }
            catch (Exception)
            {
                return "";
            }
        }
    }

    public static class SC_Manager
    {
        public static List<SCModel> sc_list = new();
    }

    public class SCModel
    { 
        public string SCCode { get; set; }
        public int SCDownState { get; set; }
    }
}
